<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:icecore="http://www.icefaces.org/icefaces/core"
      xmlns:ace="http://www.icefaces.org/icefaces/components"
      xmlns:ice="http://www.icesoft.com/icefaces/component">
    
    <h:head>
        <title>SIVE - Revisión de Vehículo</title>
        <ice:outputStyle href="./xmlhttp/css/rime/rime.css" />
        <ice:outputStyle href="css/style.css" />
        <ice:outputStyle href="css/bootstrap.css" rel="stylesheet" />
        <style type="text/css">
    </style>
    <link href="css/bootstrap-responsive.css" rel="stylesheet" ></link>
        
    <h:outputScript library="js" name="jquery.js" />
    <h:outputScript library="js" name="bootstrap.min.js" />
    <h:outputScript library="js" name="jquery.placeholder.min.js" />
    
        
    </h:head>
    <h:body>  
        
        <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
            <a class="brand" href="http://localhost:8080/sive_v3/index.html">SIVE - Sistema de Informaci&oacute;n Vehicular</a>
          <div class="nav-collapse collapse">
            <ul class="nav">
              <li class="dropdown">
                  <a href="#" class="dropdown-toggle" data-toggle="dropdown">Marchamo <b class="caret"></b></a>
                <ul class="dropdown-menu">
                  <li><a href="http://localhost:8080/sive_v3/faces/crearMarchamo.xhtml">Crear marchamo</a></li>
                  <li><a href="http://localhost:8080/sive_v3/faces/modificarMarchamo.xhtml">Modificar marchamo</a></li>
                  <li><a href="#">Reactivar marchamo</a></li>
                </ul>
              </li>
              <li class="dropdown">
                  <a href="#" class="dropdown-toggle" data-toggle="dropdown">Estacionamiento <b class="caret"></b></a>
                <ul class="dropdown-menu">
                    <li><a href="http://localhost:8080/sive_v3/faces/reservacionEvento.xhtml">Reservaci&oacute;n de evento</a></li>
                    <li><a href="http://localhost:8080/sive_v3/faces/reservacionVisita.xhtml">Reservaci&oacute;n de visita</a></li>
                  <li><a href="http://localhost:8080/sive_v3/faces/registroDeIncidentes.xhtml">Registro de incidentes</a></li>
                  <li><a href="http://localhost:8080/sive_v3/faces/registroDeMedidaC.xhtml">Registro multas e infracciones</a></li>
                </ul>
              </li>
              <li class="dropdown">
                  <a href="#" class="dropdown-toggle" data-toggle="dropdown">Consultas <b class="caret"></b></a>
                <ul class="dropdown-menu">
                    <li><a href="http://localhost:8080/sive_v3/faces/consultaMultiple.xhtml">Consultas m&uacute;ltiples</a></li>
                    <li><a href="http://localhost:8080/sive_v3/faces/consultaEspecifica.xhtml">Consultas espec&iacute;ficas</a></li>
                    <li><a href="http://localhost:8080/sive_v3/faces/consultaIngresoVehiculo.xhtml">Consulta de Ingreso de Vehículos</a></li>
                </ul>
              </li>
              <li class="dropdown">
                  <a href="#" class="dropdown-toggle" data-toggle="dropdown">Historial <b class="caret"></b></a>
                <ul class="dropdown-menu">
                    <li><a href="http://localhost:8080/sive_v3/faces/estadisticasVehiculares.xhtml">Estad&iacute;sticas y reportes</a></li>
                    <li><a href="http://localhost:8080/sive_v3/faces/revisionVehiculo.xhtml">Revisi&oacute;n de veh&iacute;culo</a></li>
                </ul>
              </li>
                   <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Ayuda<b class="caret"></b></a>
                                <ul class="dropdown-menu">
                                    <li><a href="http://localhost:8080/sive_v3/faces/ayudaPrincipal.xhtml">Ver Ayuda</a></li>
                                </ul>
                            </li>
            </ul>
              <p class="navbar-text pull-right">
              Identificado como: <a href="#" class="navbar-link">admin</a>
            </p>
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>
         <img src="img/appbar.base.arrow.png" alt="ir atras" class="nav-back" onclick="history.go(-1)" />
        <h3 class="header-bg" style="text-align: center">Sistema de Información Vehicular | Revisión de Vehículo</h3>
        

             
             <ace:tabSet id="sampleTabSet" clientSide="true">
                 
           <ace:tabPane id="criterioBusqueda" label="Criterios de Búsqueda">

                
                    <h:panelGrid id="inputGrid" columns="8" width="100%" styleClass="textEntryInputTable">
                   
                    <ace:textEntry id="cedula" value="402000998" label="Cédula" labelPosition="left" required="false" requiredIndicator="(*)" indicatorPosition="right">
                    <ace:ajax render="@this firstNameOutput firstNameMsg"/>
                    </ace:textEntry>
                        
                    <ace:tooltip id="tooltipcedula"
                    for="cedula"
                    speechBubble="true"
                    showEffect="slide"
                    hideEffect="grow"
                    showDelay="500"
                    hideDelay="300"
                    position="bottomLeft"
                    targetPosition="topRight"
                    showEffectLength="300"
                    hideEffectLength="300">
                    <h:panelGrid styleClass="tooltipBoxStyle"> 
                    <h:outputText id="desc3" value="Cédula no debe tener guiones ni espacios en blanco. Ejemplo: 113630159"/>
                    </h:panelGrid>   
                    </ace:tooltip>
                        
                    <ace:textEntry id="numeroMarchamo" value="ES1400" label="Marchamo" labelPosition="left" required="false" requiredIndicator="(*)" indicatorPosition="right">
                    <ace:ajax render="@this firstNameOutput firstNameMsg"/>
                    </ace:textEntry>
                        
                    <ace:tooltip id="tooltipMarchamo"
                    for="numeroMarchamo"
                    speechBubble="true"
                    showEffect="slide"
                    hideEffect="grow"
                    showDelay="500"
                    hideDelay="300"
                    position="bottomLeft"
                    targetPosition="topRight"
                    showEffectLength="300"
                    hideEffectLength="300">
                    <h:panelGrid styleClass="tooltipBoxStyle"> 
                    <h:outputText id="desc4" value="El número debe estar dentro del rango de marchamos emitidos"/>
                    </h:panelGrid>   
                    </ace:tooltip>
                    
                        
                    <ace:textEntry id="placaVehiculo" value="659167" label="Placa del Vehículo" labelPosition="left" required="false" requiredIndicator="(*)" indicatorPosition="right">
                    <ace:ajax render="@this firstNameOutput firstNameMsg"/>
                    </ace:textEntry>
                        
                    <ace:tooltip id="tooltipPlaca3"
                    for="placaVehiculo"
                    speechBubble="true"
                    showEffect="slide"
                    hideEffect="grow"
                    showDelay="500"
                    hideDelay="300"
                    position="bottomLeft"
                    targetPosition="topRight"
                    showEffectLength="300"
                    hideEffectLength="300">
                    <h:panelGrid styleClass="tooltipBoxStyle"> 
                    <h:outputText id="desc5" value="Sin guiones ni espacios. Ejemplo: BXH432 ó 540321"/>
                    </h:panelGrid>   
                    </ace:tooltip>
                     
                    <ace:dateTimeEntry id="fecha"
                    value="#{dateLabel.selectedDate}"
                    timeZone="Costa Rica/San Jose"
                    pattern="dd/MMM/yyyy"
                    renderAsPopup="true"
                    label="Fecha de inicio"
                    labelPosition="left"/>
      
                    <ace:dateTimeEntry id="fecha2"
                    value="#{dateLabel.selectedDate}"
                    timeZone="Canada/Mountain"
                    pattern="dd/MMM/yyyy"
                    renderAsPopup="true"
                    label="Fecha final"
                    labelPosition="left"/>
                    
                     </h:panelGrid> 
               
               <center><ace:pushButton id="envioConsulta" label="Consultar"></ace:pushButton> </center>
                   

        
      <div class="separator"></div>
      </ace:tabPane>
      
<ace:tabPane id="resultBusqueda" label="Resultado de Búsqueda">
            
             <div class="centered">
              <h:graphicImage value="img/tablaHorario.png"/>
              <h:graphicImage value="img/tablaHorario2.png"/>
              </div>>
              
                <h:panelGrid>
                </h:panelGrid>

          
          
          </ace:tabPane>
                 
      <ace:tabPane id="infracVehic" label="Infracciones del Vehículo">
        
          <ice:dataTable
                        value=""
                        var="item"
                        width="100%">
                      <!-- Stock number -->
                    <ice:column>
                        <f:facet name="header">
                            <ice:outputText value="Infracción"/>
                        </f:facet>
                        <ice:outputText  style="text-align: center;" value="colisión"/>
                    </ice:column>
                    <!-- Stock number -->
                     <ice:column>
                        <f:facet name="header">
                            <ice:outputText value="Estacionamiento"/>
                        </f:facet>
                        <ice:outputText  style="text-align: center;" value="Biologia"/>
                    </ice:column>
                       <!-- Model number -->
                    <ice:column>
                        <f:facet name="header">
                            <ice:outputText value="Fecha"/>
                        </f:facet>
                        <ice:outputText  style="text-align: center;" value="21/oct/12"/>
                    </ice:column>
                         <!-- Stock number -->
                        <ice:column>
                        <f:facet name="header">
                            <ice:outputText value="Hora"/>
                        </f:facet>
                            <ice:outputText  style="text-align: center;" value="11:00"/>
                         </ice:column>
                           <!-- Stock number -->
                       <ice:column>
                            <f:facet name="header">
                            <ice:outputText value="Descripción"/>
                        </f:facet>
                            <ice:outputText  style="text-align: center;" value="Colisión con vehiculo placa 813298, daños menores"/>
                    </ice:column>
                   </ice:dataTable>
          
           
      </ace:tabPane>
                 
                 
           
          </ace:tabSet>

        <div class="separator"></div>
        <div class="container centered">
         
            <footer class="footer">
                <span>Desarrollado por: Grupo de trabajo SIVE- </span><script type="text/javascript">
                    document.write ('Hoy es <span id="date-time">', new Date().toLocaleString(), '</span>.')
                    if (document.getElementById) onload = function () {
                        setInterval ("document.getElementById ('date-time').firstChild.data = new Date().toLocaleString()", 50)
                    }
                </script>
            </footer>
     </div>
      
    </h:body>
</html>
